#include <QObject>
/*
 * playerinput.h
 *
 *  Created on: 2009-09-02
 *      Author: ck
 */

#ifndef PLAYERINPUT_H_
#define PLAYERINPUT_H_

class PlayerInput
{
public:
	PlayerInput();
	virtual ~PlayerInput();

	void setDir1(quint8 d1);
	void setDir2(quint8 d2);
	void setAngle(qreal ang);
	void setIsShooting(bool isSh);

	quint8 getDir1() const;
	quint8 getDir2() const;
	qreal getAngle() const;
	bool getIsShooting() const;

	bool differsFrom(const PlayerInput& playerInput) const;

private:
	quint8 dir1;
	quint8 dir2;
	qreal angle;
	bool isShooting;
};

#endif /* PLAYERINPUT_H_ */
